<!-- 继承公共的 form -->
{{extend name="../../../module/view/form_table/user_form_persion_userintegral" /}}
<!-- 顶部导航内容 -->
{{block name="form_navigation"}}
    <div class="am-background-grey-f9 am-radius-lg am-margin-bottom-main am-padding-main am-flex am-flex-items-center am-flex-justify-center">
        <div class="available am-padding-vertical-module am-flex-1 am-flex am-flex-items-center am-flex-justify-center am-divider-dashed-right">
            <img src="{{:StaticAttachmentUrl('integral.png')}}" width="50">
            <div class="am-padding-left-xs">
                <div>{{:MyLang('userintegral.base_normal_title')}}</div>
                <div class="am-text-xl am-font-weight">
                    <span>{{$user_integral_data.integral}}</span>
                    <em>{{:MyLang('userintegral.base_integral_unit')}}</em>
                </div>
            </div>
        </div>
        <div class="locking am-padding-vertical-module am-flex-1 am-flex am-flex-items-center am-flex-justify-center">
            <div class="am-padding-left-xs">
            <div class="control">
                <button type="button" class="am-btn am-btn-primary am-btn-xs am-radius submit-popup" data-url="{{:MyUrl('index/userintegral/exchange')}}" data-title="{{:MyLang('integral_exchange_title')}}">
                    <i class="iconfont icon-btn-add am-show-sm-only"></i>
                    <span>{{:MyLang('integral_exchange_title')}}</span>
                </button>
            </div>
                <div>{{:MyLang('common_config.common_integral_exchange_rate.name')}}  1 : {{$common_integral_exchange_rate}}</div>
            </div>
        </div>
<!--        <div class="locking am-padding-vertical-module am-flex-1 am-flex am-flex-items-center am-flex-justify-center">-->
<!--            <img src="{{:StaticAttachmentUrl('lock.png')}}" width="50">-->
<!--            <div class="am-padding-left-xs">-->
<!--                <div class="am-color-grey-dark">{{:MyLang('userintegral.base_locking_title')}}</div>-->
<!--                <div class="am-text-xl am-font-weight">-->
<!--                    <span>{{$user_integral_data.locking_integral}}</span>-->
<!--                    <em>{{:MyLang('userintegral.base_integral_unit')}}</em>-->
<!--                </div>-->
<!--            </div>-->
<!--        </div>-->
    </div>
{{/block}}